package com.cnsuning.jobtool.service.impl;


import com.cnsuning.jobtool.entity.Cost;
import com.cnsuning.jobtool.mapper.CostMapper;
import com.cnsuning.jobtool.service.CostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ==========================
 * Created with IntelliJ IDEA.
 * User: 徐兴兴
 * Date: 2019/5/30
 * Time: 17:46
 * ==========================
 */
@Service
public class CostServiceImpl implements CostService
{
	@Autowired
	private CostMapper costMapper;

	@Override
	public List<Cost> findAll()
	{
		return costMapper.selectAll();
	}
}
